<template>
  <div class="not-found">
    <h1>404</h1>
    <h2>抱歉，您要找的页面不存在</h2>
    <p>可能是因为页面已被删除，或是网址输入错误。</p>
    <router-link to="/" class="home-link">返回首页</router-link>
  </div>
</template>

<script lang="ts" setup>
</script>

<style scoped>
.not-found {
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #f4f4f4;
  color: #333;
  text-align: center;
}

h1 {
  font-size: 100px;
  margin: 0;
  color: #ff6b6b;
}

h2 {
  font-size: 24px;
  margin-top: 20px;
}

p {
  font-size: 18px;
  margin-top: 10px;
  color: #777;
}

.home-link {
  margin-top: 30px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.home-link:hover {
  background-color: #0056b3;
}
</style>
